From: Giovanni Campagna Date: Fri, 1 Jul 2011 13:24:16 +0000 (+0200) Subject: Fix methods that take array arguments X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~8085 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=67736642f3cc4be3f66d22e2d4c3e508b0c46871;p=gnome-shell.git Fix methods that take array arguments Length parameter is no longer required in current GJS. Fix that. https://bugzilla.gnome.org/show_bug.cgi?id=654349 --- diff --git a/js/ui/notificationDaemon.js b/js/ui/notificationDaemon.js index 37009d9f6..19288a762 100644 --- a/js/ui/notificationDaemon.js +++ b/js/ui/notificationDaemon.js @@ -122,7 +122,7 @@ NotificationDaemon.prototype = { } else if (hints['image-data']) { let [width, height, rowStride, hasAlpha, bitsPerSample, nChannels, data] = hints['image-data']; - return textureCache.load_from_raw(data, data.length, hasAlpha, + return textureCache.load_from_raw(data, hasAlpha, width, height, rowStride, size); } else { let stockIcon;